package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.pswv2.core.PO;
/**
 * 用户
 * @author linjiang
 *
 */
@Entity
@Table
public class AnswerRequirements extends PO {
	public static final Integer wait_see = 0;
	public static final Integer already_see =1;
	public static final Integer discuss =2;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer answerRequirementsId;     
	private Integer userRequirementsId; 		
	private Integer userId; 						//回答的是那个用户
	private String answer; 						
	private long answerTime; 						
	private String kWord; 					
	private Integer statusSee;						//是否被查看过0未查看，1已查看未评论，2已打分
	private Integer statusPid;						//是否支付1已支付0待支付
	private double degreeOfSatisfaction;			//满意度 0 到10
	private double remunerationPrice;				//回答的报仇价格
	private double actualReturnPrice ;				//实际回报价格
	private double remunerationPoints;				//回答的报仇积分
	private double actualReturnPoints ;				//实际回报积分
	
	@Override
	public Serializable getId() {
		return answerRequirementsId;
	}
	public Integer getAnswerRequirementsId() {
		return answerRequirementsId;
	}

	public void setAnswerRequirementsId(Integer answerRequirementsId) {
		this.answerRequirementsId = answerRequirementsId;
	}
	
	public double getRemunerationPoints() {
		return remunerationPoints;
	}
	public void setRemunerationPoints(double remunerationPoints) {
		this.remunerationPoints = remunerationPoints;
	}
	public double getActualReturnPoints() {
		return actualReturnPoints;
	}
	public void setActualReturnPoints(double actualReturnPoints) {
		this.actualReturnPoints = actualReturnPoints;
	}
	public double getDegreeOfSatisfaction() {
		return degreeOfSatisfaction;
	}

	public void setDegreeOfSatisfaction(double degreeOfSatisfaction) {
		this.degreeOfSatisfaction = degreeOfSatisfaction;
	}

	public long getAnswerTime() {
		return answerTime;
	}
	
	public void setAnswerTime(long answerTime) {
		this.answerTime = answerTime;
	}



	public String getAnswer() {
		return answer;
	}


	public void setAnswer(String answer) {
		this.answer = answer;
	}


	public String getkWord() {
		return kWord;
	}


	public void setkWord(String kWord) {
		this.kWord = kWord;
	}


	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	
	public Integer getStatusSee() {
		return statusSee;
	}

	public void setStatusSee(Integer statusSee) {
		this.statusSee = statusSee;
	}

	public Integer getStatusPid() {
		return statusPid;
	}

	public void setStatusPid(Integer statusPid) {
		this.statusPid = statusPid;
	}

	public Integer getUserRequirementsId() {
		return userRequirementsId;
	}

	public void setUserRequirementsId(Integer userRequirementsId) {
		this.userRequirementsId = userRequirementsId;
	}

	public double getRemunerationPrice() {
		return remunerationPrice;
	}

	public void setRemunerationPrice(double remunerationPrice) {
		this.remunerationPrice = remunerationPrice;
	}

	public double getActualReturnPrice() {
		return actualReturnPrice;
	}

	public void setActualReturnPrice(double actualReturnPrice) {
		this.actualReturnPrice = actualReturnPrice;
	}
	
}
